package nodes.typeconst;

import java.util.Random;

public class DoubleConstantStrategy implements ConstantStrategy<Double> {
	
	private Random ran = new Random();
	private final int LIMIT = 10;

	@Override
	public Double getConstant() {
		double res = ran.nextInt(LIMIT);
		res = res + ran.nextDouble();
		return res;
	}

}
